package com.java.grammer.oop;

/**
 * @author luzhikun
 * @date 2020/11/28- 16:46
 */
public class PhoneTest_1_1 {
    public static void main(String[] args) {
        Phone_1 p1 = new Phone_1();
        p1.setBrand("苹果");
        p1.setPrice(5000);
        String c = p1.getBrand();
        double a = p1.getPrice();
        System.out.println("这个手机的品牌是" + c + "价格为" + a);
    }
}
